﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ClassifierLib
{
    /// <summary>
    /// Composite class to represent a single entry in a training set
    /// This consists of the Environment state and Action
    /// </summary>
    public class TrainingValue
    {
        private Environment.State _state;
        private Action _action;
        public Environment.State State
        {
            get
            {
                return _state;
            }
        }
        public Action Action
        {
            get
            {
                return _action;
            }
        }

        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="State">State of environment for this training value</param>
        /// <param name="Action">Action to train</param>
        public TrainingValue(Environment.State State, Action Action)
        {
            _state = State;
            _action = Action;
        }
    }
}
